package cn.ccit.DAO;

import java.util.List;

import cn.ccit.entites.Terminal;
/**
 * 
 * @author wanghao
 * 终端门店表
 */
public interface TerminalDAO {
	public boolean addTerminal(Terminal term);//增加
	public boolean removeTerminal(Terminal term);//删除
	public boolean changeTerminalInfo(Terminal term);//修改
	public List<Terminal> getSomeTerminals(int start,int limit);//获取一定条数
	public Terminal searchTerminalByID(int id);//搜索通过id
	public List<Terminal> searchTerminalByName(String name);//通过门店名字
	public List<Terminal> searchTerminalByHostName(String hostName);//通过店主名字
	public Terminal searchTerminalByPhone(String phone);//通过号号
}	
